<template>
  <div>
    <h1>收藏</h1>
    <el-table :data="list" stripe style="width: 100%">
      <!-- <el-table-column align="center" prop="collect_id" label="id" width="180"></el-table-column> -->
      <el-table-column align="center" prop="collect_name" label="姓名" width="180"></el-table-column>
      <el-table-column align="center" prop="collect_image_road" label="图片"></el-table-column>
      <el-table-column align="center" prop="collect_text" label="收藏单名"></el-table-column>
      <el-table-column align="center" prop="collect_state" label="状态">
        <template slot-scope="scope">
          <span>{{scope.row.collect_state === 0 ? '公开' : '私密'}}</span>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  data() {
    return {
      list: this.$route.params.like,
    };
  },
};
</script>
<style scoped>
</style>